(set #welcome ("This program will install the CompactPlayer CD audio player version %ld.%ld on your system.\n\nIt will also update the ClassAct classes CompactPlayer requires for operation to the latest (provided) versions.\n\nCompactPlayer is freely distributable software. If you like it, please send a small gift to:\n\nOsma Ahvenlampi\nRekipellontie 2 F 55\n00940 Helsinki\nFinland." cpv cpr))
(set #destdir-prompt "Please select the directory where you want CompactPlayer installed.\n(No directory will be created.)")
(set #destdir-help "The CompactPlayer executable will be copied in this directory.")
(set #docs-prompt "Please select the directory where you want CompactPlayer documentation.")
(set #copying-docs "Copying documentation")
(set #fonts-ask "Do you want to install the custom CompactPlayer fonts?\n\nCompactPlayer is fully font sensitive. The main interface has been designed to take very little space, and for that reason two custom fonts are provided.\n\nInstalling these fonts is recommended.\n\nIf you do not install these fonts, CompactPlayer will use the system default fonts.")
(set #fonts-prompt "Please select the directory where fonts should be installed.")
(set #fonts-tooltypes "Setting font tooltypes for CompactPlayer")
(set #descriptors-ask "Do you want to install the CompactPlayer CD descriptors?\n\nCompactPlayer uses the same kind of CD descriptor files as MCDP to remember the titles on the CD. You can now install a set of ready descriptors for a collection of audio CDs and CD-ROMs.\n\nYou can define your own descriptors for unknown CDs within CompactPlayer.")
(set #disksdest-prompt "Where do you want to place the descriptor directory?\n(A directory called \"Disks\" will be created here.)")
(set #copying-disks "Decompressing descriptor archive...\n\nThese descriptors contain the titles of each CD. The name of file is built from the number of tracks and length of the CD.")
(set #path-tooltype "Setting path tooltype for CompactPlayer")
(set #choose-device "Please enter the name of the SCSI device your CD-ROM is connected to.")
(set #choose-unit "Please enter the SCSI unit ID of your CD-ROM device.")
(set #scsi-help "Because CompactPlayer uses the SCSI-Direct protocol to interface with the CD-ROM, it needs to know the SCSI address of the drive. If you are unsure of the device or unit, try one of these:\n\nA2091, A3000, A590: scsi.device\nGVP: gvpscsi.device\nSupra: suprascsi.device\nWarp Engine: warpdrive.device\n\nThe CD-ROM SCSI ID is usually 4 by default.")
(set #scsi-tooltype "Setting the SCSI device and unit")
(set #bye "Please note that the C source to CompactPlayer was not installed by this script.\n\nIf you are a ClassAct developer, it is recommended that you archive the source and this installation script for future reference.")
; ************* PLEASE COPY THIS PROCEDURE ALONG WITH THE STRINGS IT USES
; ************* TO THE INSTALLER SCRIPT OF YOUR CLASSACT APPLICATION.
; ************* IT WILL TAKE CARE OF INSTALLING THE CLASSACT CLASSES YOU
; ************* PROVIDED WITH YOUR APPLICATION TO THE USER'S SYSTEM.
; ClassAct installation procedure V 1.4 (23.12.95) by Osma Ahvenlampi
; percentage of the size of included ClassAct classes versus the whole
; distribution (ie. total "complete" percentage after ClassAct is installed)
(set classact-complete 50)
; ClassAct installer scripts
(set #classdest-prompt "Please select the directory where you want the ClassAct classes installed.\n(See help for details)")
(set #classdest-help (cat "ClassAct is a GUI toolkit consisting of shared BOOPSI classes.\n\nThis player requires some of the ClassAct classes installed on your system. "
(if v39 (cat "OS 3.0 has a standard directory for BOOPSI classes, the SYS:Classes directory. It is recommended that you install ClassAct there.")
(cat "OS 2.0 does not have a standard place for disk resident BOOPSI classes. On OS 3.0 these classes are stored in the SYS:Classes directory. It is recommended that you create this directory and install ClassAct there.\nThis directory must be added in the LIBS: assign. This can be done by placing the command\nAssign >NIL: LIBS: SYS:Classes ADD\nto User-Startup. This installer will do this for you.")
)
)
)
(set #classes-020 "Do you want to use the OS 3.0, 020 optimised version of ClassAct?")
(set #help-020 "Some ClassAct libraries have versions optimised for use on 020 or better equipped OS 3.0 or later machines. If your Amiga is such equipped, you should install these. The 68000/2.0 versions will also work, but are slightly slower.")
(set #noclasses-message "The directory you selected for your ClassAct classes is not a part of the LIBS: assign.\n\nIt is necessary to add this assign so that the classes will be found properly.")
(set #creating-dir "Creating directory ")
(set #usbackup-prompt "User-Startup will now be backed up.")
(set #usbackup-help "This installer will next make a modification in User-Startup. Before doing this the old User-Startup will be backed up to S:User-Startup.old")
(set #adding-1 "Adding ")
(set #adding-2 " to LIBS: assign\n")
(set #adding-help "This is necessary so that the custom classes can be found.")
(set #junod-button "It seems you have a late Commodore 'V42' button.gadget installed on your system.\n\nClassAct's button.gadget is far more capable than this gadget, and we recommend that you replace it. The ClassAct button.gadget is backwards compatible to the Commodore gadget. Do you wish to back up the Commodore gadget and replace it with the ClassAct version?")
(set #junod-backed "The Commodore 'V42' button.gadget has been backed up with the name button.gadget.v42.\n\nThe ClassAct button.gadget will be installed in its place.")
(set #junod-kept "The Commodore 'V42' button.gadget was not replaced with the more capable ClassAct version.\n\nPrograms depending on the availability of ClassAct-only features will be likely to work wrong.")
(procedure install-classact
; call this procedure to copy the classes included in the Classes directory
; in your distribution dir.
(if (exists "Classes") ; The archive contains a ClassAct library update.